package com.by.mapper;

import com.by.bean.Dept;
import com.by.common.bean.PageBean;
import com.by.common.crud.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeptMapper extends BaseMapper<Dept> {
    /**
     * 根据parent_id查询子类别
     *
     * @param parent_id
     * @return
     */
    List<Dept> queryChild(int parent_id);
}
